package cn.tedu.egweibo03.base.response;

public enum StatusCode {
    OPERATION_SUCCESS(5000, "操作成功"),
    OPERATION_FAILED(6000, "操作失败");
    private Integer state;
    private String message;

    StatusCode(Integer state, String message) {
        this.state = state;
        this.message = message;
    }

    public Integer getState() {
        return state;
    }

    public String getMessage() {
        return message;
    }
}
